SET BSP OBJECT COLLISION
This command will set the collision sphere of the specified object for the BSP world.
SET BSP OBJECT COLLISION Collision Index, Object Number, Radius, Response
Collision Index
Integer
This value is an integer number such as 1.
Object Number
Integer
Specify an object number between 1 and 2415919103.
Radius
Float
This value is a float number such as 0.5
Response
Integer
This value is an integer number such as 1.
This command does not return a value.
This will automatically adjust the position of the object when it attempts to enter solid BSP geometry. The object will be repositioned to produce the smoothest collision response. If the Response value is set to one, the new position backtracks to the last collision free position when a hit occurs. It is worth noting that even commands that reposition the object are subject to the BSP collision once active. To avoid problems repositioning your objects, simply deactivate and reactivate the collision during positioning.
No example code is provided for this command
WORLD Commands Menu
Index